﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Titler.Views
{
    /// <summary>
    /// Interaction logic for Window1.xaml
    /// </summary>
    public partial class FPView : Window
    {
        public FPView()
        {
            InitializeComponent();
        }

        private void button_Click(object sender, RoutedEventArgs e)
        {
            var newHydLine = new FPControls.HydLineCtrl();
            var newTec = new FPControls.TecCtrl();
            var newFlatPack = new FPControls.FlatPackCtrl();

            //string[] HydLineTitle = newHydLine.TitleReturn();
            string TecTitle = newTec.TitleReturn();
            string FlatPackTitle = newFlatPack.TitleReturn(true);

            //System.Windows.Forms.MessageBox.Show(HydLineTitle[0] + "//" + HydLineTitle[1] + "//" + HydLineTitle[2]);
            System.Windows.Forms.MessageBox.Show(TecTitle);
            System.Windows.Forms.MessageBox.Show(FlatPackTitle);

            //Clipboard.SetText("FLATPACK" + HydLineTitle[0] + ", " +
            //    (HydLineTitle[1] != "" ? HydLineTitle[1] + ", " : "") +
            //    (HydLineTitle[2] != "" ? HydLineTitle[2] + ", " : "") +
            //    (TecTitle == "" ? "" : TecTitle + ", ") +
            //    FlatPackTitle);
        }


        
    }
}
